<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/css/layui.css">
    <link rel="stylesheet" href="/css/dp01.css">
    <script src="/js/jquery-3.7.1.min.js"></script>
</head>
<body>
<div class="container">

    <div class="layui-row">
        <div class="layui-col-xs12">

            <h1 style="text-align: center">教师信息管理</h1>

        </div>

    </div>
    <div class="layui-row">
        <div class="layui-col-xs12 toolbar">


            <button type="button" class="layui-btn layui-btn-normal layui-btn-sm"
            onclick="showTeacherDlg();return false;">

                <i class="layui-icon layui-icon-addition" ></i>
            </button>

        </div>

    </div>


    <div class="layui-row">
        <div class="layui-col-xs6">
            <table class="layui-table"  lay-even>
                <thead>
                <tr>
                    <th>id</th>
                    <th>姓名</th>
                    <th>学院</th>
                    <th>工号</th>
                    <th>编辑</th>
                </tr>
                </thead>

                <tbody id="teacherTh">

                </tbody>
            </table>

        </div>
    </div>

</div>

<form class="layui-form dlgcontainer" id="teacherForm" style="display: none">
    <div class="demo-reg-container">
        <div class="layui-form-item" id="formId">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <div class="layui-input-wrap">
                        <div class="layui-input-prefix">
                            <i class="layui-icon layui-icon-cellphone"></i>
                        </div>
                        <input type="text" name="id" value=""  placeholder="id" lay-reqtext="id"
                               autocomplete="off" class="layui-input" id="id">
                    </div>
                </div>

            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-wrap">
                <div class="layui-input-prefix">
                    <i class="layui-icon layui-icon-vercode"></i>
                </div>
                <input type="text" name="college" value="" lay-verify="required" placeholder="学院" lay-reqtext="请填写学院"
                       autocomplete="off" class="layui-input">
            </div>
            <div class="layui-input-wrap">
                <div class="layui-input-prefix">
                    <i class="layui-icon layui-icon-vercode"></i>
                </div>
                <input type="text" name="sno" value="" lay-verify="required" placeholder="son" lay-reqtext="请填写工号"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-wrap">
                <div class="layui-input-prefix">
                    <i class="layui-icon layui-icon-password"></i>
                </div>
                <input type="text" name="name" value="" lay-verify="required" placeholder="姓名"
                       autocomplete="off" class="layui-input" id="name" >
            </div>
        </div>

        <div class="layui-form-item">
            <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="stud-dlg" id="btnOK">提交</button>
        </div>

    </div>
</form>
<script src="/js/layui.js"></script>
<script src="/pagejs/dp01.js"></script>
</body>
